package com.totcy.atom.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class User implements Serializable {

    /**
     * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ3ZWIiLCJleHAiOjE1NDg0MDgzNjgsImlhdCI6MTU0ODMyMTk2OCwiaXNzIjoiaHVtb3JsaWFuZyIsImp0aSI6MTU0ODMyMTk2OCwic3ViIjoiYWxsIiwidXNlcl9pZCI6Mn0.Y832UT0WCtR_YnnyGYGzkoFDMO0oYrt2NOLyYewiE3Q
     * user_email : 792814781@qq.com
     * user_id : 2
     * user_nicename : 鹧鸪哨
     * user_registered : 2019-01-24 17:03:53
     * user_status : 0
     */

    private String token;
    private String user_email;
    @SerializedName("user_id")
    private long id;
    @SerializedName("user_nicename")
    private String userName;
    @SerializedName("user_login")
    private String userLogin;
    private String user_registered;
    private int user_status;
    private String userImage;

    public User() {
    }

    public String getUserLogin() {
        return userLogin;
    }

    public void setUserLogin(String userLogin) {
        this.userLogin = userLogin;
    }

    public User(String userName) {
        this.userName = userName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_registered() {
        return user_registered;
    }

    public void setUser_registered(String user_registered) {
        this.user_registered = user_registered;
    }

    public int getUser_status() {
        return user_status;
    }

    public void setUser_status(int user_status) {
        this.user_status = user_status;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }
}
